package com.dongjiantong.user.model.dtos;/**
 * Created by cao on 2017/11/13.
 */

import com.dongjiantong.mybatis.BaseEntity;
import com.dongjiantong.user.model.LoginUser;
import com.dongjiantong.user.model.MzUser;

import javax.persistence.Column;
import java.util.Date;

/**
 * @author cao
 * @create 2017-11-13 下午4:38
 **/
public class BossUserDto extends BaseEntity {

    private String realname;

    private String mobile;

    @Column(name = "user_type")
    private Integer userType;

    private Integer gender;

    private String title;

    private String avatar;

    private String idcard;

    private Integer ismaster;



    @Column(name = "created_at")
    private Date createdAt;



    @Column(name = "user_id")
    private long userId;

    private String username;


    private Integer status;

    private Integer logincount;



    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getLogincount() {
        return logincount;
    }

    public void setLogincount(Integer logincount) {
        this.logincount = logincount;
    }



    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard == null ? null : idcard.trim();
    }

    public Integer getIsmaster() {
        return ismaster;
    }

    public void setIsmaster(Integer ismaster) {
        this.ismaster = ismaster;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

}
